<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>無題ドキュメント</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="jquery.yoshizawa.editor.css">
<script src="jquery.yoshizawa.editor.js"></script>
<script type="text/javascript">
var ed;

$(function(){
	ed = $('#editor').editor();
});

function click1()
{
	alert(ed.editor('content'));	
}

function click2()
{
	ed.editor('content', 'foobar');	
}

</script>
</head>

<body>
<form method="get" action="?">
	<textarea id="editor" name="text" cols="50" rows="10">sample text
quick brown</textarea>
	<input type="submit" value="submit">
</form>
</body>
</html>
